﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp;

namespace SMARTHOTEL.Customers
{
    public class Reservations : FullAuditedAggregateRoot<Guid>, ISoftDelete
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderNumber { get; set; }
        /// <summary>
        /// 房型房号
        /// </summary>
        public string RoomType { get; set; }
        /// <summary>
        /// 房间数
        /// </summary>
        public string RoomNum { get; set; }
        /// <summary>
        /// 预订手机号
        /// </summary>
        public string BookingPhone { get; set; }
        /// <summary>
        /// 预订人姓名
        /// </summary>
        public string BookingName { get; set; }
        /// <summary>
        /// 房客姓名
        /// </summary>
        public string RoomName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool RoomNameSex { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 入住时间
        /// </summary>
        public DateTime StartTime { get; set; }=DateTime.Now;
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }= DateTime.Now;
        /// <summary>
        /// 金额
        /// </summary>
        public decimal Amount { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool State { get; set; }
    }
}
